//
//  DeviceInfoClass.m
//  Cunli
//
//  Created by ZhanyaaLi on 16/1/11.
//  Copyright © 2016年 lilubin. All rights reserved.
//

#import "DeviceInfoClass.h"



@implementation DeviceInfoClass

+(DeviceInfoVersion)getCurrentDeviceDetailVersion
{
    /*
    CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;
    return screenWidth < 350? DeviceInfoVersioniPhone4sOr5s : (screenWidth < 400? DeviceInfoVersioniPhone6 : DeviceInfoVersioniPhone6p);
     */
    CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;
    return screenHeight < 500? DeviceInfoVersioniPhone4s : (screenHeight < 600? DeviceInfoVersioniPhone5s : (screenHeight < 700? DeviceInfoVersioniPhone6 : DeviceInfoVersioniPhone6p));
}

@end
